package com.yuanfeng.goods.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yuanfeng.commoms.util.ResponseResult;
import com.yuanfeng.goods.dto.CartGuessLikeGoodsQueryDTO;
import com.yuanfeng.goods.dto.WapUserFootPrintDTO;
import com.yuanfeng.goods.entity.GoodsUserFootprintEntity;

import java.util.Map;

/**
 * @ClassName GoodsUserFootprintService
 * @Description  商品访问足迹表
 * @Author cyp
 * @Date 2023-06-08 10:01:59
 * @Version 1.0
 **/
public interface GoodsUserFootprintService extends IService<GoodsUserFootprintEntity> {
    /**
     * 查询购物车底部猜你喜欢
     * @param param
     * @return
     */
    ResponseResult queryCartGuessLikeGoods(CartGuessLikeGoodsQueryDTO param);

    /**
     * 查询足迹
     *
     * @param param
     * @return
     */
    ResponseResult queryUserFoot(WapUserFootPrintDTO param);


    /**
     * 删除所有足迹
     *
     * @param map
     * @return
     */
    ResponseResult deleteFootPrint(Map<String, Object> map);


    /**
     * 根据用户商品足迹 查询对应分类下的商品
     *
     * @param map
     * @return
     */
    ResponseResult queryUserRandomGoods(Map<String, Object> map);
}
